#ifndef     __HA_CAN_H__
#define     __HA_CAN_H__

#include "at32f403a_407.h"


enum{
	data_len = 0,
	ser_mode,
	run_dir,
	acd_num,
	comfort,
	dis_floor,
	phy_floor,
	speed_h,
	speed_l,
	safe_bit,
	mdoor_bit,
	sdoor_bit,
	m1_8_incall,
	m6_16_incall,
	m17_24_incall,
	m25_32_incall,
	m33_40_incall,
	m41_48_incall,
	s1_8_incall,
	s6_16_incall,
	s17_24_incall,
	s25_32_incall,
	s33_40_incall,
	s41_48_incall,
	maxcnt,
};







void can_init(void);
void can_get_data(uint8_t * buf);



#endif

